< previous page page_189 next page >

Page 189
12180-0189a.gif
Figure 8.3.
The
frmTest form is used for recording and displaying class errors.
Saving and Displaying Test Logs
Using either a file or database, you would capture each of the text box values using the label captions as fields (or columns). The frmTest form is used for displaying class errors. Use your favorite persistence code (database or file) for storing errors. You can use a Rich Text Box to which to assign the values of each text box and save the file using the Rich Text Box's SaveFile method, as follows:
frmTest!SomeRichTextBox.Text = Class Name:  & _
     txtTest(0).Text & ;Class Method:  & txtTest(1).Text 
frmTest!SomeRichTextBox.SaveFile App.Path & \ & _ SomeFilename, rtfText
To use this approach, you'd have to have a Rich Text Box control on the frmTest form.
Using Source Code Control with Emphasis on SourceSafe
If you've developed software for any length of time, you have come to realize the absolute importance of version control software. One of the important benefits of version control software is that it helps you organize and track the latest version of your software, as well as its revision history. For a team of two or more developers, version control software serves as a shared repository of subsystem classes and components that can be checked out and checked in by one person at a time.

 
< previous page page_189 next page >

If you like this book, buy it!